FROM openjdk:8-jre-alpine
VOLUME /userservice/
ADD ./target/userservice-1.0.jar ./
ADD ./userservice-docker.yml ./
ENTRYPOINT ["java","-jar","userservice-1.0.jar","--spring.config.location=userservice-docker.yml"]
EXPOSE 8762
